package com.yxh.sse.business.junit;

import static org.junit.Assert.*;

import org.dom4j.Element;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

import com.yxh.sse.config.DataBaseConfig;
import com.yxh.sse.tool.XmlTool;
import com.yxh.sse.tool.XmlValues;


public class XmlToolTest {

	@Before
	public void setUp() throws Exception {
	}

	@After
	public void tearDown() throws Exception {
	}
	
	private String file="D:\\yxh\\code\\sse\\WebContent\\WEB-INF\\data\\";

	@Test
	public void testXmlInit() {
//		XmlTool tool=new  XmlTool();
//		XmlValues xml=tool.xmlInit(file+"dataConfig.xml", "a", "b");
      DataBaseConfig b=new DataBaseConfig();
   
		
		
//		xml
//	    Element child=node.element("databaseName");
//	    System.out.println(child.getText());
	}

}
